package cn.baisee.process.impl;

import cn.baisee.process.ProcessChain;
import cn.baisee.process.ProcessRequest;
import cn.baisee.request.GroundingRequest;
import cn.baisee.result.Result;

public class Boos implements ProcessRequest {







    public Result doneRequest(ProcessChain chain) {

        if (chain.getRequest().getGoods().getPrice()>1000){
            Result result = new Result();
            result.setInto("审核不通过");
            result.setResult(false);

            return result;
        }
        Result result = new Result();
        result.setInto("审核通过");
        result.setResult(true);
        System.out.println(chain.getRequest().toString());
        return result;
    }
}
